package com.wzy.shirostudy.service;

import com.wzy.shirostudy.domain.SysPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wzy
 * @since 2020-04-16
 */
public interface SysPermissionService extends IService<SysPermission> {

    /**
     * 通过用户id获取权限列表
     * @param userId
     * @return
     */
    List<SysPermission> getPermissionListByUserId(Integer userId);
}
